package it.traveldream.beans;

import it.traveldream.dto.ExcursionDTO;
import it.traveldream.dto.LocationDTO;
import it.traveldream.exceptions.LocationNotFoundException;

import java.util.List;

public interface ExcursionManagerInterface extends ProductManagerInterface<ExcursionDTO> {

	/**
	 * Returns a list containing products of type Excursion, located in the 
	 * specific location passed as argument.
	 * @param location The location to be searched for.
	 * @return List of excursion items. 
	 * @throws LocationNotFoundException
	 */
	public List<ExcursionDTO> getExcursionsByLocation(LocationDTO location) throws LocationNotFoundException;
}
